﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="advisorRegistration.aspx.cs" Inherits="Project.advisorRegistration" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <%--<table>
            <tr><td colspan="2" align="center"><h2>Advisor Sign-Up</h2></td></tr>
            <tr><td class="auto-style1">&nbsp;</td><td class="auto-style1">&nbsp;</td></tr>
            <tr><td class="auto-style1">
                <asp:Label ID="lbl_advisorID" runat="server" Text="Advisor ID"></asp:Label>
                </td><td class="auto-style1">
                    <asp:TextBox ID="txt_advisorID" runat="server"></asp:TextBox>
                </td><td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please Enter Advisor ID" ControlToValidate="txt_advisorID"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Please Enter valid Advisor ID (ex. 300XXXXXX)" ControlToValidate="txt_advisorID" ValidationExpression="^300[0-9]{6}"></asp:RegularExpressionValidator></td></tr>
        <tr><td class="auto-style1">
            <asp:Label ID="lbl_firstName" runat="server" Text="First Name"></asp:Label>
            </td><td class="auto-style1">
                <asp:TextBox ID="txt_firstName" runat="server"></asp:TextBox>
            </td><td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Please enter your First Name" ControlToValidate="txt_firstName"></asp:RequiredFieldValidator></td></tr>
        <tr><td class="auto-style1">
            <asp:Label ID="lbl_lastName" runat="server" Text="Last Name"></asp:Label>
            </td><td class="auto-style1">
                <asp:TextBox ID="txt_lastName" runat="server"></asp:TextBox>
            </td><td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Please enter your Last Name" ControlToValidate="txt_lastName"></asp:RequiredFieldValidator>
            </td></tr>
        <tr><td class="auto-style1">
                <asp:Label ID="lbl_password" runat="server" Text="Password"></asp:Label>
                </td><td class="auto-style1">
                    <asp:TextBox ID="txt_password" runat="server" TextMode="Password"></asp:TextBox>
                </td><td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Please Enter Password" ControlToValidate="txt_password"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txt_password" ErrorMessage="Your password must have atleast 8 characters including one upercase, one lowercase and one digit." ValidationExpression="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}$"></asp:RegularExpressionValidator>
            </td></tr>
            <tr><td class="auto-style1">
                <asp:Label ID="lbl_confirmPassword" runat="server" Text="Confirm Password"></asp:Label>
                </td><td class="auto-style1">
                    <asp:TextBox ID="txt_confirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                </td><td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Please Enter Confirm Password" ControlToValidate="txt_confirmPassword"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Password doesn't match" ControlToCompare="txt_password" ControlToValidate="txt_confirmPassword"></asp:CompareValidator>
                </td></tr>
            <tr><td class="auto-style1">
                <asp:Label ID="lbl_email" runat="server" Text="E-mail"></asp:Label>
                </td><td class="auto-style1">
                    <asp:TextBox ID="txt_email" runat="server"></asp:TextBox>
                </td><td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_email" ErrorMessage="Please Enter Email"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ValidationExpression="\S+@[a-z]+\.\S+" ErrorMessage="Please enter the email address in 
                                    valid format(abc@abc.com)" ControlToValidate="txt_email" Display="Dynamic"></asp:RegularExpressionValidator></td></tr>
            <tr><td class="auto-style1">&nbsp;</td><td class="auto-style1">&nbsp;</td></tr>
            <tr><td colspan="2" align="center">
                <asp:Button ID="btn_clear" runat="server" Text="Clear" Width="68px" OnClick="btn_clear_Click" CausesValidation="False" UseSubmitBehavior="False" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btn_submit" runat="server" Text="Submit" Width="68px" OnClick="btn_submit_Click" />
                </td></tr>
            </table>--%>
        <table style="width: 100%; text-align: center;">
    <tr>
        <td style="text-align: right">
            &nbsp;</td>
        <td>
            <asp:Label ID="lbl_message" runat="server" ForeColor="Red"></asp:Label>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            Advisor ID * :</td>
        <td>
            <asp:TextBox ID="txt_advisorid" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            First Name * :</td>
        <td>
            <asp:TextBox ID="txt_advisorfname" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            Last Name * :</td>
        <td>
            <asp:TextBox ID="txt_advisorlname" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            primary email * :</td>
        <td>
            <asp:TextBox ID="txt_advisoremail1" runat="server" CausesValidation="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right; height: 33px;">
            secondary email :</td>
        <td style="height: 33px">
            <asp:TextBox ID="txt_advisoremail2" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            Phone ext :</td>
        <td>
            <asp:TextBox ID="txt_advisorphone" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            Days available :</td>
        <td>
            <asp:CheckBox ID="chk_mon" runat="server" 
                Text="Monday" />
            <br />
            <asp:CheckBox ID="chk_tue" runat="server" Text="Tuesday" />
            <br />
            <asp:CheckBox ID="chk_wed" runat="server" Text="Wednesday" />
&nbsp;<br />
            <asp:CheckBox ID="chk_thu" runat="server" Text="Thursday" />
            <br />
            <asp:CheckBox ID="chk_fri" runat="server" Text="Friday" />
            <br />
            <asp:CheckBox ID="chk_sat" runat="server" Text="Saturday" />
            <br />
            <asp:CheckBox ID="chk_sun" runat="server" Text="Sunday" />
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            Time :</td>
        <td>
            <asp:DropDownList ID="dd_time1" runat="server">
                <asp:ListItem>8:30</asp:ListItem>
                <asp:ListItem>9:00</asp:ListItem>
                <asp:ListItem>9:30</asp:ListItem>
                <asp:ListItem>10:00</asp:ListItem>
                <asp:ListItem>10:30</asp:ListItem>
                <asp:ListItem>11:00</asp:ListItem>
                <asp:ListItem>11:30</asp:ListItem>
                <asp:ListItem>12:00</asp:ListItem>
                <asp:ListItem>12:30</asp:ListItem>
                <asp:ListItem>13:00</asp:ListItem>
                <asp:ListItem>13:30</asp:ListItem>
                <asp:ListItem>14:00</asp:ListItem>
                <asp:ListItem>14:30</asp:ListItem>
                <asp:ListItem>15:00</asp:ListItem>
                <asp:ListItem>15:30</asp:ListItem>
                <asp:ListItem>16:00</asp:ListItem>
                <asp:ListItem>16:30</asp:ListItem>
            </asp:DropDownList>
&nbsp;to
            <asp:DropDownList ID="dd_time2" runat="server">
                <asp:ListItem>8:30</asp:ListItem>
                <asp:ListItem>9:00</asp:ListItem>
                <asp:ListItem>9:30</asp:ListItem>
                <asp:ListItem>10:00</asp:ListItem>
                <asp:ListItem>10:30</asp:ListItem>
                <asp:ListItem>11:00</asp:ListItem>
                <asp:ListItem>11:30</asp:ListItem>
                <asp:ListItem>12:00</asp:ListItem>
                <asp:ListItem>12:30</asp:ListItem>
                <asp:ListItem>13:00</asp:ListItem>
                <asp:ListItem>13:30</asp:ListItem>
                <asp:ListItem>14:00</asp:ListItem>
                <asp:ListItem>14:30</asp:ListItem>
                <asp:ListItem>15:00</asp:ListItem>
                <asp:ListItem>15:30</asp:ListItem>
                <asp:ListItem>16:00</asp:ListItem>
                <asp:ListItem>16:30</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            Location :</td>
        <td>
            <asp:DropDownList ID="dd_location" runat="server">
                <asp:ListItem>Progress Campus</asp:ListItem>
                <asp:ListItem>Morningside Campus</asp:ListItem>
                <asp:ListItem>Ashtonbe Campus</asp:ListItem>
                <asp:ListItem>CCC Campus</asp:ListItem>
            </asp:DropDownList>
            <br />
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            Password: </td>
        <td>
            <asp:TextBox ID="txt_password" runat="server" TextMode="Password"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">
            Password Again:</td>
        <td>
            <asp:TextBox ID="txt_passwordagain" runat="server" TextMode="Password"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right; height: 34px;">
            </td>
        <td style="text-align: right; height: 34px;">
            <asp:Button ID="btn_submit" runat="server" Text="Submit" 
                onclick="btn_submit_Click" />
            <asp:Button ID="btn_reset" runat="server" Text="Reset" 
                onclick="btn_reset_Click" />
        </td>
    </tr>
</table>
        <br />
        <div><asp:Label ID="lbl_thankyou" Font-Size="X-Large" ForeColor="Red" runat="server" Text=""></asp:Label></div>
    </div>
    </form>
</body>
</html>
